<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>夫相对，子绝对</title>
		<style>
			#main{
				height: 4999px;
				width: 3000px;
				border: 2px solid red;
				position: relative;
			}
			#main #myadv{
				height: 90px;
				width: 200px;
				border: 1px solid royalblue;
				overflow: hidden;
				position: absolute;
				right: 0;
				bottom: 50px;
			}
		</style>
	</head>
	<body>
		<div id="head" style="height: 200px;background-color: aqua;"></div>
		<div id="main">
			<div id="myadv">
				<img src="../icon/brand2.jpg"/>
			</div>
		</div>
	</body>
	
	
</html>